home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / gnumake / pdmake.zoo / proto.h < prev    next >
C/C++ Source or Header  |  1991-09-25  |  2KB  |  66 lines

  1. #ifdef __STDC__
  2. # define    P(s) s
  3. #else
  4. # define P(s) ()
  5. #endif
  6.  
  7. #include "astat.h"
  8.  
  9. /* check.c */
  10. void prt P((void ));
  11. void check P((struct name *np ));
  12. void circh P((void ));
  13. void precious P((void ));
  14.  
  15. /* input.c */
  16. struct name *newname P((char *name ));
  17. struct depend *newdep P((struct name *np , struct depend *dp ));
  18. struct cmd *newcmd P((char *str , struct cmd *cp ));
  19. void newline P((struct name *np , struct depend *dp , struct cmd *cp , int flag ));
  20. void input P((FILE *fd ));
  21.  
  22. /* macro.c */
  23. struct macro *getmp P((char *name ));
  24. char *getmacro P((char *name ));
  25. struct macro *setmacro P((char *name , char *val ));
  26. void doexp P((char **to , char *from , int *len , char *buf ));
  27. void expand P((char *str ));
  28.  
  29. /* reader.c */
  30. /* void error P((char *msg , int a1 , int a2 , int a3 )); */
  31. bool getline P((char *str , FILE *fd ));
  32. char *gettok P((char **ptr ));
  33.  
  34. /* rules.c */
  35. char *suffix P((char *name ));
  36. bool dyndep P((struct name *np ));
  37. void makerules P((void ));
  38.  
  39. /* main.c */
  40. int usage P((void ));
  41.  
  42. /* make.c */
  43. int dosh P((char *string , char *shell ));
  44. void docmds1 P((struct name *np , struct line *lp ));
  45. int docmds P((struct name *np ));
  46. int time P((time_t *tp ));
  47. void modtime P((struct name *np ));
  48. void touch P((struct name *np ));
  49. int make P((struct name *np , int level ));
  50. int make1 P((struct name *np , struct line *lp , struct depend *qdp ));
  51.  
  52. /* ststuff.c */
  53. int getstat P((char *fname , struct stat *buf ));
  54. #ifndef __GNUC__
  55. int system P((char *cmd ));
  56. int st_special P((char *cmd ));
  57. int rm P((char *list ));
  58. int remove P((char *filename ));
  59. int cp P((char *list ));
  60. int echo P((char *list ));
  61. #endif
  62. int rtime P((long *t ));
  63. void FlipWords P((unsigned short *i));
  64.  
  65. #undef P
  66.